﻿namespace DotRas
{
    using System;
    using System.Net;

    [Serializable]
    public sealed class RasIpxInfo
    {
        private int _errorCode;
        private IPAddress _ipxAddress;

        internal RasIpxInfo(int errorCode, IPAddress ipxAddress)
        {
            this._errorCode = errorCode;
            this._ipxAddress = ipxAddress;
        }

        public int ErrorCode
        {
            get
            {
                return this._errorCode;
            }
        }

        public IPAddress IpxAddress
        {
            get
            {
                return this._ipxAddress;
            }
        }
    }
}

